<template>
    <div>
        <h1>测试界面</h1>
        <button @click="fnGo()">go</button>
    </div>
</template>

<script>
export default {
    data() {
        return {
            
        }
    },
    methods: {
        fnGo(){
            this.axios.post('api/test').then(res=>{
                var data = res.data
                if(data.code==200){
                    console.log(data)
                }
            })
        }
    },
}
</script>

<style lang="">
    
</style>